FROM ghcr.io/openim-sigs/openim-ubuntu-image:v2.1.3

# Using Alpine Linux with Go environment for the final image
#FROM golang:1.21-alpine

# Install necessary packages, such as bash
#RUN apk add --no-cache bash

# Set the environment and work directory
ENV SERVER_DIR=/openim-server
WORKDIR $SERVER_DIR

COPY target/openim $SERVER_DIR/openim
COPY target/chat $SERVER_DIR/chat
